package com.yky.entity;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

/**
 * 机构
 * 
 * @author vimesly
 * 
 */

@SuppressWarnings("serial")
@Entity
@Table(name = "work_organization")
public class Organization implements Serializable {

	private Integer id;
	private String name;

	// 省份编码
	private Province province;

	private String organType; // 类别
	private String organLevel; // 等级
	private String organCode; // 组织机构编码
	private String address; // 地址
	private String postCode; // 邮编
	private String contactUser; // 联系人
	private String contactPhone; // 联系人办公电话
	private String contactMobile; // 联系人手机
	private String contactEmail; // 联系人邮箱
	private String createTime; // 创建时间
	private String createUser; // 创建人

	private Integer status; // 0-待审核 1-审核通过
	private String responsiblePerson; // 负责人

	// 伦理委员会注册信息 2016-06-07 14:51:23
	private String institutionEthicsCommitteeName; // 机构伦理委员会名称
	private String institutionEthicsCommitteePersonnel; // 机构伦理委员会人员情况
	private String institutionEthicsCommitteeConstitution; // 是否具有机构伦理委员会章程
	private String institutionEthicsCommitteeProgram; // 机构伦理委员会是否具有工作制度或相关工作程序
	
	// 2016-12-8 21:35:14 xiaoan
	private String isNationalTwoCommittees; //是否为国家两委局批准的干细胞临床研究机构
	private String isInvolvedPerson; //是否为涉及人的生物医学研究机构
	private String isApprovalStemCellsInstitutions; //是否批准的干细胞临床研究机构      0-否 1-是
	

	@Id
	@GeneratedValue
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "name")
	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	@Column(name = "organ_type")
	public String getOrganType() {
		return organType;
	}

	public void setOrganType(String organType) {
		this.organType = organType;
	}

	@Column(name = "organ_level")
	public String getOrganLevel() {
		return organLevel;
	}

	public void setOrganLevel(String organLevel) {
		this.organLevel = organLevel;
	}

	@Column(name = "organ_code")
	public String getOrganCode() {
		return organCode;
	}

	public void setOrganCode(String organCode) {
		this.organCode = organCode;
	}

	@Column(name = "address")
	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	@Column(name = "post_code")
	public String getPostCode() {
		return postCode;
	}

	public void setPostCode(String postCode) {
		this.postCode = postCode;
	}

	@Column(name = "contact_user")
	public String getContactUser() {
		return contactUser;
	}

	public void setContactUser(String contactUser) {
		this.contactUser = contactUser;
	}

	@Column(name = "contact_phone")
	public String getContactPhone() {
		return contactPhone;
	}

	public void setContactPhone(String contactPhone) {
		this.contactPhone = contactPhone;
	}

	@Column(name = "contact_mobile")
	public String getContactMobile() {
		return contactMobile;
	}

	public void setContactMobile(String contactMobile) {
		this.contactMobile = contactMobile;
	}

	@Column(name = "contact_email")
	public String getContactEmail() {
		return contactEmail;
	}

	public void setContactEmail(String contactEmail) {
		this.contactEmail = contactEmail;
	}

	@Column(name = "create_time")
	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	@Column(name = "create_user")
	public String getCreateUser() {
		return createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	@ManyToOne
	@JoinColumn(name = "province_code")
	public Province getProvince() {
		return province;
	}

	public void setProvince(Province province) {
		this.province = province;
	}

	@Column(name = "responsible_person")
	public String getResponsiblePerson() {
		return responsiblePerson;
	}

	public void setResponsiblePerson(String responsiblePerson) {
		this.responsiblePerson = responsiblePerson;
	}

	@Column(name = "status")
	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	@Column(name = "institution_ethics_committee_name")
	public String getInstitutionEthicsCommitteeName() {
		return institutionEthicsCommitteeName;
	}

	public void setInstitutionEthicsCommitteeName(
			String institutionEthicsCommitteeName) {
		this.institutionEthicsCommitteeName = institutionEthicsCommitteeName;
	}

	@Column(name = "institution_ethics_committee_personnel")
	public String getInstitutionEthicsCommitteePersonnel() {
		return institutionEthicsCommitteePersonnel;
	}

	public void setInstitutionEthicsCommitteePersonnel(
			String institutionEthicsCommitteePersonnel) {
		this.institutionEthicsCommitteePersonnel = institutionEthicsCommitteePersonnel;
	}

	@Column(name = "institution_ethics_committee_is_constitution")
	public String getInstitutionEthicsCommitteeConstitution() {
		return institutionEthicsCommitteeConstitution;
	}

	public void setInstitutionEthicsCommitteeConstitution(
			String institutionEthicsCommitteeConstitution) {
		this.institutionEthicsCommitteeConstitution = institutionEthicsCommitteeConstitution;
	}

	@Column(name = "institution_ethics_committee_is_program")
	public String getInstitutionEthicsCommitteeProgram() {
		return institutionEthicsCommitteeProgram;
	}

	public void setInstitutionEthicsCommitteeProgram(
			String institutionEthicsCommitteeProgram) {
		this.institutionEthicsCommitteeProgram = institutionEthicsCommitteeProgram;
	}

	@Column(name = "is_national_two_committees")
	public String getIsNationalTwoCommittees() {
		return isNationalTwoCommittees;
	}

	public void setIsNationalTwoCommittees(String isNationalTwoCommittees) {
		this.isNationalTwoCommittees = isNationalTwoCommittees;
	}

	@Column(name = "is_involved_person")
	public String getIsInvolvedPerson() {
		return isInvolvedPerson;
	}

	public void setIsInvolvedPerson(String isInvolvedPerson) {
		this.isInvolvedPerson = isInvolvedPerson;
	}
	@Column(name = "is_approval_stem_cells_institutions")
	public String getIsApprovalStemCellsInstitutions() {
		return isApprovalStemCellsInstitutions;
	}
	
	public void setIsApprovalStemCellsInstitutions(String isApprovalStemCellsInstitutions) {
		this.isApprovalStemCellsInstitutions = isApprovalStemCellsInstitutions;
	}
	
	

}
